/*
* dns.x: Remote message printing protocol
*/

struct dns_record_agent_address
{
    string name<256>;
    string address<256>;
};

program AGENT_ADDRESS_PROG
{
	version AGENT_ADDRESS_VERS
	{
		int GETADDRESS(void) = 1;
	    int UNREGISTER_ADDRESS_NAME(string) = 2;
	    int REGISTER_ADDRESS_NAME_STATIC(dns_record_agent_address) = 3;
	    int REGISTER_ADDRESS_NAME_DYNAMIC(dns_record_agent_address) = 4;
		int RESOLVE_ADDRESS_NAME(string) = 5;
		string GETAGENTBYID(int)=6;
	} = 1;
} = 201;
